var express = require('express');
var fourJS = require('./4');
var router = express.Router();
let temp;

router.get('/', function(req, res) {

    fourJS(function(err,all){
        temp=all;
    });
    console.log(temp);
    res.send(JSON.stringify(temp));
});

module.exports = router;